﻿using System.ComponentModel;

namespace SimpleTool.Base
{
    public class Notify : INotifyPropertyChanged
    {

        public event PropertyChangedEventHandler? PropertyChanged;


        public void propertyChangeSend(string property)
        {
            if (PropertyChanged != null){          
                PropertyChangedEventHandler getHandle = PropertyChanged;
                if (getHandle != null)
                {
                    getHandle(this, new PropertyChangedEventArgs(property));
                }
            }
        }
    }
}
